package com.mall.mymall.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author 十里坡
 * @since 2025-03-06
 */
@Data
public class OrderDetails implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "detail_id", type = IdType.AUTO)
    private Integer detailId;

    private Integer orderId;

    private Integer productId;

    private Integer quantity;

    //商品总价
    private BigDecimal price;

    private Integer addressId;

}
